<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<c:forEach var="curriculum" items="${list}">
    ${curriculum.pname}<br>
    <c:forEach var="curriculum1" items="${curriculum.children}">
        ${curriculum1.pname}<br>
        <c:forEach var="curriculum2" items="${curriculum1.children}">
            ${curriculum2.pname}<br>
        </c:forEach>
    </c:forEach>
</c:forEach>
</body>
</html>
